package com.neulogistics.contrib.transfercenter.api.application.viewmodel;

import com.neulogistics.contrib.transfercenter.domain.model.valueobject.OrderItem;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class TransferOrderViewModel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 调拨单id
     */
    public String transferOrderId;

    /**
     * 调度类型：1:配送；2:退货；3:换货
     */
    public Integer transferType;

    /**
     * 调度单状态：0:待调度：1:已调度；2:挂起
     */
    public Integer transferStatus;

    /**
     * 订单id
     */
    public String orderId;

    /**
     * 关联任务单id
     */
    public String taskId;

    /**
     * 出库库房id
     */
    public Integer outboundWarehouseId;

    /**
     * 入库库房id
     */
    public Integer inboundWarehouseId;

    /**
     * 订单项 [{商品id、名称、数量、单价、计量单位}]
     */
    public List<OrderItem> orderItems;

    /**
     * 计划出库时间
     */
    public Date expOutboundTime;

    /**
     * 创建时间
     */
    public Date createTime;

    /**
     * 创建人id
     */
    public Integer creatorId;

    /**
     * 是否删除
     */
    public Integer deleted;
}
